package com.common.tools.autoconfig;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Service;

import lombok.extern.slf4j.Slf4j;

//@Configuration //会生成代理
@Service //不会生成代理
@Slf4j
@ComponentScan(basePackages = {
	"com.common.tools.service",
	"com.common.tools.manager",
	"com.common.tools.controller",
	"com.common.tools.util",
})
@MapperScan("com.common.tools.dao")
public class ToolsAutoConfig {

	public ToolsAutoConfig() {
		log.info("初始化.........."+this.getClass().getSimpleName());
	}
}


